﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using RoadTeam.Model.BS;
using RoadTeam.Model;
using RoadTeam.Enums;
using RoadTeam.SysInterface;

namespace RoadTeam.BsSystem.CS.Appeal
{
    public class CsAppeal_Sys : ICsAppeal
    {
        public DataTable GetEmptyTable()
        {
            SqlWhere where = new SqlWhere();
            where.Info = new TbCsAppeal() { AppealID = "-1" };
            where.SelectColumn = @" SubCode,CreateDate,AppealType,AppealContent,AppealCustName,
AppealCustLinkTel,AppealUnitFullName,StaffName,Remark,App_Identities ";
            return TbCsAppeal.Select(where, GlobalConfig.RtConnectionString);
        }

        public bool InsertCsAppeal(DataTable dt)
        {
            return TbCsAppeal.InsertDatatable(dt, GlobalConfig.RtConnectionString);
        }





    }
}
